#ifndef _H_MEZZA_LSTR_
#define _H_MEZZA_LSTR_

#include "mezza/str.h"
#include "mezza/types.h"

typedef struct mz_lstring_node MZ_LSTRNODE;
typedef struct mz_lstring MZ_LSTR;

struct mz_lstring_node {
    mzstr_t str;
    MZ_LSTRNODE *prev;
    MZ_LSTRNODE *next;
};

struct mz_lstring {
    mzsize_t    size;
    MZ_LSTRNODE *list;
};

MZ_LSTR mzlstr_add(MZ_LSTR *lstr, mzstr_t str);

#endif /* _H_MEZZA_LSTR_ */
